/*
** hashtables_util.c for zappy in /home/chris/Rendu/B4/UNIX/zappy/pateyproject/server
** 
** Made by christophe lecointe
** Login   <lecoin_c@epitech.net>
** 
** Started on  Fri May 25 14:17:58 2012 christophe lecointe
** Last update Fri May 25 14:43:02 2012 christophe lecointe
*/

#include "server.h"
#include <stdlib.h>

pid_t		getPrevList(t_pTable playerList, pid_t cur)
{
  while (playerList[cur] == NULL && cur > 0)
    --cur;
  return (cur);
}
